package design.factory.factory_method;

/**
 * 工厂产品
 */
public abstract class AbstractCar {
    String engine;
    public abstract void run();

    @Override
    public String toString() {
        return "AbstractCar{" +
                "engine='" + engine + '\'' +
                '}';
    }
}
